package com.wei.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_comment")
public class CommentEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private Integer entityType;//1表示对帖子进行评论 2表示对评论回复
    private Integer entityId;
    private Integer targetId;//被评论的用户的id
    private String content;
    private Integer status;
    private Date createTime;
}
